﻿<Application 
    x:Class="HomeBuyerTools.App"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"       
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" 
    xmlns:my="clr-namespace:System;assembly=mscorlib"
    xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
    xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone">

    <!--Application Resources-->
    <Application.Resources>
       <Style x:Key="imagelogo" TargetType="Image">
            <Setter Property="Source" Value="/Images/Panorama/Logo.png"/>
        </Style>
        <Style x:Key="Title" TargetType="Image">
            <Setter Property="Source" Value="/Images/Panorama/Title.png"/>
        </Style>
        <Style x:Key="Povitbg" TargetType="Image">
            <Setter Property="Source" Value="/Images/Pivot/Background.jpg"/>
        </Style>
        <Style x:Key="PovitTitle" TargetType="Image">
            <Setter Property="Source" Value="/Images/Pivot/Title.png"/>
        </Style>
        <Style x:Key="TitleStyle" TargetType="TextBlock">
            <Setter Property="Foreground" Value="{StaticResource PhoneForegroundBrush}"/>
            <Setter Property="FontSize" Value="56"/>
            <!--<Setter Property="FontFamily" Value="Segoe WP SemiLight"/>-->
        </Style>

        <Style x:Key="Aboutstyle" TargetType="TextBlock">
            <Setter Property="Foreground" Value="{StaticResource PhoneForegroundBrush}"/>
            <Setter Property="FontSize" Value="32"/>
            <!--<Setter Property="FontFamily" Value="Segoe WP SemiLight"/>-->
        </Style>
        <Style x:Key="AboutTitleStyle" TargetType="TextBlock">
            <Setter Property="Foreground" Value="White"/>
            <Setter Property="FontSize" Value="45"/>
            <Setter Property="FontFamily" Value="/Fonts/Blacksmith Delight.ttf#Blacksmith Delight"/>
        </Style>
        <Style x:Key="AboutUsMenuRowStyle" TargetType="StackPanel">
            <Setter Property="Orientation" Value="Horizontal"/>
            <Setter Property="Margin" Value="0,12,0,12"/>
        </Style>

        <Style x:Key="AboutUsMenuItemText" TargetType="TextBlock">
            <Setter Property="Foreground" Value="White"/>
            <Setter Property="FontSize" Value="30"/>
            <Setter Property="FontFamily" Value="/Fonts/ufonts.com_century-gothic-2.ttf#Century Gothic"/>
            <Setter Property="Margin" Value="0,10,0,25"/>
        </Style>
        <Style x:Key="RelatedAppCountStyle" TargetType="TextBlock">
            <Setter Property="Foreground" Value="White"/>
            <Setter Property="FontSize" Value="32"/>
            <Setter Property="IsHitTestVisible" Value="False"/>
            <Setter Property="Margin" Value="15,7,0,0"/>
        </Style>
        <Style x:Key="RelatedAppCountContainer" TargetType="Ellipse">
            <Setter Property="Canvas.Left" Value="3" />
            <Setter Property="Canvas.Top" Value="0" />
            <Setter Property="Width" Value="60" />
            <Setter Property="Height" Value="60" />
            <Setter Property="Fill" Value="#662d91" />
            <Setter Property="Stroke" Value="White" />
            <Setter Property="StrokeThickness" Value="3" />
            <Setter Property="IsHitTestVisible" Value="False" />
        </Style>
        <my:String x:Key="ShowUpgradePage">false</my:String>
    </Application.Resources>
    <Application.ApplicationLifetimeObjects>
        <!--Required object that handles lifetime events for the application-->
        <shell:PhoneApplicationService 
            Launching="Application_Launching" Closing="Application_Closing" 
            Activated="Application_Activated" Deactivated="Application_Deactivated"/>
    </Application.ApplicationLifetimeObjects>
</Application>